package net.edu_soft.ec.asset.pojo.bo;

import java.io.Serializable;


/**
 *  @author: PUING
 *  @Date: 2020/6/9 12:26
 *  @Description: 权限资源类
 */
public class PermissionBO implements Serializable {

    /**
     * 权限id
     */
    private Integer permissionId;

    /**
     * 权限名
     */
    private String name;

    /**
     * 权限码
     */
    private String perCode;

    public PermissionBO() {
    }

    public PermissionBO(Integer permissionId, String name, String perCode) {
        this.permissionId = permissionId;
        this.name = name;
        this.perCode = perCode;
    }

    public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPerCode() {
        return perCode;
    }

    public void setPerCode(String perCode) {
        this.perCode = perCode;
    }

    @Override
    public String toString() {
        return "PermissionBO{" +
                "permissionId=" + permissionId +
                ", name='" + name + '\'' +
                ", perCode='" + perCode + '\'' +
                '}';
    }
}
